package com.study.opensource.spring.loop.service.impl;

import com.study.opensource.spring.loop.service.AService;
import com.study.opensource.spring.loop.service.CService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author xubangbang
 * @date 2021/7/9 10:20
 */
@Service
public class CServiceImpl implements CService {

    @Autowired
    private AService aService;
    @Override
    public void printC() {
        System.out.println(Thread.currentThread().getName()+ " : C");
    }
}
